home *** CD-ROM | disk | FTP | other *** search
- property ancestor
-
- on new me, buttonName, castName, theChannel, theStageLoc, descendant
- if objectp(descendant) then
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, descendant)
- else
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, me)
- end if
- return me
- end
-
- on performFunction me
- global gSearchObj
- menuBankObj = getMenuBankObj(gSearchObj)
- clearBank(menuBankObj, 3)
- hideBank(menuBankObj, 3)
- clearBank(menuBankObj, 2)
- hideBank(menuBankObj, 2)
- clearBank(menuBankObj, 1)
- criteriaObj = getMenuObj(menuBankObj, 1, #criteria)
- enable(criteriaObj)
- expand(criteriaObj)
- end
-